package tests.junit;

import tests.pojos.Dog;
import tests.pojos.ExecutionTimer;
import tests.pojos.Pet;
import junit.framework.TestCase;

public class PetTest extends TestCase{

	public PetTest(){}
	
	public void testPet(){
		ExecutionTimer timer = new ExecutionTimer();
		timer.start();
		Pet wheatie = new Dog("Wheaten Terrier", "Wheatie");
		assertEquals(wheatie, new Dog("Wheaten Terrier", "Wheatie"));
		timer.end();
		System.out.println(timer.duration());
	}
}
